//
//  MVVMModel.swift
//  HHSwift
//
//  Created by 华宏 on 2019/1/23.
//  Copyright © 2019年 huahong. All rights reserved.
//

import UIKit
import SwiftyJSON


class MVVMModel: NSObject {

    var title :String?
    var images :imagesModel
    
    init(jsonData:JSON) {
        title = jsonData["title"].stringValue
        images = imagesModel(jsonData:jsonData["images"])
    }
    
    
}


struct imagesModel {
    var large :String?
    
    init(jsonData:JSON) {
        large = jsonData["large"].stringValue
    }
}

